package com.neu.flashmall.product.service;

import com.neu.common.entity.Tree;
import com.neu.flashmall.product.entity.PmsCategory;
import com.neu.flashmall.product.vo.HeaderCategoryVo;
import com.neu.flashmall.product.vo.PmsCategoryMallVo;
import com.neu.flashmall.product.vo.PmsCategoryVo;

import java.util.List;

public interface PmsCategoryService {
    PmsCategoryVo getPmsCategoryVo();

    String addPmsCategoryLevel1(PmsCategory pmsCategory);

    String updatePmsCategory(PmsCategory pmsCategory);

    String deletePmsCategory(Long id);

    String updateIcon(PmsCategory pmsCategory);

    PmsCategoryMallVo makeUpPmsCategoryMallVo(Long id);

    HeaderCategoryVo makeUpHeaderCategoryVo(int quantity,int childrenQuantity);

    List<PmsCategory> getAllThirdCategory();

    List<PmsCategory> getThirdCategory();

    Tree getCategoryTree();
}
